function form1(){
    var disp=document.getElementsByClassName("section-2-form-section-scan")
    disp[0].style.display='block'
    var disp2=document.getElementsByClassName("section-2-form-section-2")
    disp2[0].style.display='none'
    var col=document.getElementById('form-1')
    col.style.color='red'
    col.style.fontWeight='700'
    var col=document.getElementById('form-2')
    col.style.color='#898989'
    col.style.fontWeight='500'
}

function form2(){
    var disp=document.getElementsByClassName("section-2-form-section-scan")
    disp[0].style.display='none'
    var disp2=document.getElementsByClassName("section-2-form-section-2")
    disp2[0].style.display='block'
    var col=document.getElementById('form-2')
    col.style.color='red'
    col.style.fontWeight='700'
    var col=document.getElementById('form-1')
    col.style.color='#898989'
    col.style.fontWeight='500'
}


// function sleep(numberMillis) {    
//     var now = new Date();    
//     var exitTime = now.getTime() + numberMillis;   
//     while (true) { 
//     now = new Date();       
//     if (now.getTime() > exitTime) 
//     return;    
//     } 
//     }

// function tishi(){
//     var scanf=document.getElementsByClassName('scan-tishi')
//     sleep(1000)
//     scanf[0].style.display='block'
// }

// function tish(){
//     var scanf=document.getElementsByClassName('scan-tishi')
//     scanf[0].style.display='none'
// }

window.onload=function(){
    var d1=document.getElementById("section-2-form-section-scan");
    var d2=document.getElementById("scan-tishi");
    d1.onmouseover=function(){
        d2.style.display="block";
    };
    d1.onmouseout=function(){
        d2.style.display="none";
    }
}

function del(){
    a=$('#user').val('')
}

function del1(){
    a=$('#pwd').val('')
}